package com.webside.rtypemapping.mapper;

import java.util.List;
import java.util.Map;

import com.webside.rtypemapping.model.RTypeMapping;

public interface RTypeMappingMapper {

	//增
	int insertRTypeMapping(RTypeMapping rTypeMapping);
	
	//删(通过id)
	int deleteRTypeMappingById(Integer id);
	
	//删（通过source_type_name）
	int deleteRTypeMappingBySourceTypeName(String sourceTypeName);
	
	//改
	int updateRTypeMappingByCondition(Map<String,Object> parameter);
	
	//查(所有条件)
	List<RTypeMapping> selectRTypeMappingByCondition(Map<String,Object> parameter);
	List<RTypeMapping> queryListByPage (Map<String,Object> parameter);

	void updateRTypeMapping(RTypeMapping retype);

	List<RTypeMapping> selectRTypeMapping(RTypeMapping retype);
	//删除
	int deleteRTypeMappingByIds(List<Long> list);
	int      deleteBatchById(List<Long> list);
	
	
	
}
